﻿using GalaSoft.MvvmLight.Messaging;
using messageData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace chatGUI.SingeltonData
{
    public sealed class userData
    {
        private static readonly Lazy<userData> _instance = new Lazy<userData>(() => new userData());
        public static userData Instance => _instance.Value;
        private userData() 
        { 
            user = new User();
            nowChattingWith = string.Empty;
            nowChattingWithGroup = false;
        }
        public User user { get; set; }
        public string nowChattingWith { get; set; }
        public bool nowChattingWithGroup { get; set; }
    }
}
